<?php

namespace App\Models;

use App\Traits\Relation\OrderRelation;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


/**
 * 订单数据模型
 *
 * Date: 2018/04/26
 * @author Tenny
 * @package App\Models
 */
class Order extends Model
{
    use OrderRelation, SoftDeletes;

    protected $table = 'order';

    /**
     * 定义不可批量填充字段
     *
     * @var array
     * Date: 11/04/2018
     * @author Tenny
     */
    protected $guarded = ['id'];
}
